<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ice="http://www.icesoft.com/icefaces/component"
     class="autorize">

    <div class="right">
        <ui:include src="/resources/includes/locale.xhtml"/>
    </div>
    <h:outputText value="#{msgs['version']}: #{applicationScope['MODULE_VERSION']}"
                  styleClass="left bgimg"/>
    <h:outputText value="#{msgs['user']}: #{request.userPrincipal.name}" styleClass="bgimg"/>
    <h:outputText value="#{msgs['authorities']}: #{request.userPrincipal.authorities}" styleClass="bgimg"/>
    <!--<h:link outcome="/j_spring_security_logout" value=""/>-->
    <a href="${request.contextPath}/j_spring_security_logout" class="bgimg">#{msgs['exit']}</a>
</div>